// 导出 routes
const routes = [
    {
        path: "/",
        redirect:"/index"
    },
	{
	    path:'/index',
	    name:"index",
	    component:()=> import("../views/index.vue")
	},
	{
	    path:'/table',
	    name:"table",
	    component:()=> import("../views/table.vue")
	},
    {
        path:'/home',
        name:"home",
        component:()=> import("../views/home.vue")
    },
    {
        path:'/test',
        name:"test",
        component:()=> import("../views/test.vue")
    }
]
export default routes